package cn.panda.edu.dao;

import cn.panda.edu.model.EnrollStudents;

import java.util.List;
import java.util.Map;

/**
 * 
 * 类描述：  招生计划表DAO
 * @author: wyd
 * @date： 2018-01-15 下午1:12:05
 */
public interface EnrollStudentsMapper {
	/**
	 * 
	* @Title: deleteByPrimaryKey 
	* @Description: TODO(通过主键删除) 
	* @param @param enrollId
	* @param @return  
	* @return int
	 */
    int deleteByPrimaryKey(Integer enrollId);

    /**
     * 
    * @Title: insert 
    * @Description: TODO(插入) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int insert(EnrollStudents record);

    /**
     * 
    * @Title: insertSelective 
    * @Description: TODO(动态插入) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int insertSelective(EnrollStudents record);

    /**
     * 
    * @Title: selectByPrimaryKey 
    * @Description: TODO(通过enrollId 查找) 
    * @param @param enrollId
    * @param @return  
    * @return EnrollStudents
     */
    EnrollStudents selectByPrimaryKey(Integer enrollId);

    /**
     * 
    * @Title: updateByPrimaryKeySelective 
    * @Description: TODO(动态 更新) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int updateByPrimaryKeySelective(EnrollStudents record);

    /**
     * 
    * @Title: updateByPrimaryKey 
    * @Description: TODO(更新) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int updateByPrimaryKey(EnrollStudents record);
    /**
     * 
    * @Title: selectByName 
    * @Description: TODO(根据专业名称模糊查询招生计划信息) 
    * @param map
    * @return  
    * List<EnrollStudents>
     */
    List<EnrollStudents> selectByName(Map map);
}